const express=require('express')
const path=require('path')
const serveFavicon=require("serve-favicon")
let app=express()
app.listen(3000,()=>{
    console.log('3000ok');
})


// app.use( serveFavicon("./public/favicon.webp" ) )
app.use( serveFavicon(path.join(__dirname,"./public/favicon.webp" ) ) )


app.get("/index",(req,res)=>{
    res.send("index")
})
app.get("/login",(req,res)=>{
    res.send("login")
})